const data = {
    name: '1223'
}


const Mapp = (state = data, action) => {
    state = { ...state }
    switch (action.type) {
        case '1':
            state.name = action.name
            break;
    }
    return state
}

export default Mapp
